const Layout = () => import('@/layout/index.vue')

export default {
  name: 'Article',
  path: '/article',
  component: Layout,
  redirect: '/article/list',
  meta: {
    title: '科普文章',
    icon: 'uil:pagelines',
    role: ['admin'],
    requireAuth: true,
    order: 4,
  },
  children: [
    {
      name: 'ArticlePage',
      path: 'articlePage',
      component: () => import('./index.vue'),
      meta: {
        title: '文章管理',
        icon: 'material-symbols:article',
        role: ['admin'],
        requireAuth: true,
        keepAlive: true,
      },
    },
  ],
}
